<template>

    <view class="page-container">
        <cellItem2 :list="list"/>
    </view>

</template>
<script setup>
import {ref} from "vue"
import cellItem2 from "@/components/cellItem2/index.vue"
import { onLoad } from '@dcloudio/uni-app';
import {my_devicesApi} from "@/api/familyMembers"
import {
	useRouter
} from 'uni-mini-router'


const router = useRouter();
 const list=ref([])

 const navigationUrl=()=>{
    router.push({
        name:"family_addDevice"
    })
 }

 onLoad(()=>{
my_devicesApi({id:""}).then((res)=>{
    if(res.code==200){
        list.value=res.data;
    }
})
 })

// family_addDevice
</script>

<style lang="less" scoped>
	.page-container{
		padding: 30rpx;
	}
.btn{
    padding:0rpx;
}</style>